<?php
class App_Module_Admin_Component_Media_Tpl_Filterform extends App_Module_Admin_Tpl_Block_Filterform
{
	protected $_form = 'filter/media';
	
	public function GetForm($filter, $baseUrlParams)
	{
        $this->baseUrlParams = $baseUrlParams;
        $this->filter = $filter;

		return $this->CreateForm($filter);
	}

	protected function GetActionUrl()
	{
		return $this->baseUrlParams;
	}
	
	protected function GetResetUrl()
	{
		return array_merge($this->baseUrlParams, array('resetfilter' => 1));
	}
	
	protected function GetHeaderTitle()
	{
		return $this->Form($this->filter)->GetTitle();
	}
}